﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Artemis;

namespace JAWWS
{
    class Ball
    {
        public float posX, posY, posZ = 0;
        public uint texID;
        public GLUquadric ball;

        public Ball()
        {
            texID = 4;
        }
        public Ball(MainForm main)
        {    
            ball = GLU.gluNewQuadric();
            GLU.gluQuadricDrawStyle(ball, GLenum.GLU_FILL);
            GLU.gluQuadricTexture(ball, GLenum.GL_TRUE);
            texID = main.TexIDs[4];             
            
        }
        public void draw()
        {
            GLU.gluSphere(ball, 1.0, 50, 50);        
        }
    }
}
